home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / pc_chips.gsh < prev    next >
Text File  |  2000-08-22  |  2KB  |  85 lines

  1. // defines the PC chips (mission objective in level 5)
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_PC_CHIPS_GSH
  8. #define INCLUDED_PC_CHIPS_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. shape Shp_PC_Chip_A
  15. {
  16.     file "objects\pc chip a.RIF"
  17.     name "pc chip a"
  18. }
  19.  
  20. shape Shp_PC_Chip_B
  21. {
  22.     file "objects\pc chip b.RIF"
  23.     name "pc chip b"
  24. }
  25.  
  26. shape Shp_PC_Chip_C
  27. {
  28.     file "objects\pc chip c.RIF"
  29.     name "pc chip c"
  30. }
  31.  
  32. character Chr_PC_Chip : Chr_Default
  33. {
  34.     turning speed    0    // this is in revolutions per second
  35.     walking speed    0    // this is in animation cycles per second
  36.     weapon            none
  37.     strength        1    // initial strength points
  38.     aim                0
  39.     aggression        0.6    // 6 = PC chip pickup
  40. }
  41.  
  42. role Rol_PC_Chip_A : Rol_DefaultRobot
  43. {
  44.     shape            Shp_PC_Chip_A
  45.     
  46.     character        Chr_PC_Chip
  47.         
  48.     identifier       "pc_chip"
  49.  
  50.     destructibility  Des_Explode
  51.  
  52.     ai        pickup
  53. }
  54.  
  55. role Rol_PC_Chip_B : Rol_DefaultRobot
  56. {
  57.     shape            Shp_PC_Chip_B
  58.     
  59.     character        Chr_PC_Chip
  60.         
  61.     identifier       "pc_chip"
  62.  
  63.     destructibility  Des_Explode
  64.  
  65.     ai        pickup
  66. }
  67.  
  68. role Rol_PC_Chip_C : Rol_DefaultRobot
  69. {
  70.     shape            Shp_PC_Chip_C
  71.     
  72.     character        Chr_PC_Chip
  73.         
  74.     identifier       "pc_chip"
  75.  
  76.     destructibility  Des_Explode
  77.  
  78.     ai        pickup
  79. }
  80.  
  81. ////////////////////////////////////////////////////////////////////////////////////
  82.  
  83. // end wrapper - for preventing multiple or recursive inclusions
  84. #endif // !INCLUDED_PC_CHIPS_GSH
  85.